public class Person {
    String name;
    int age;
    String idNum;

    public Person() {
    }

    public Person(String name, int age, String idNum) {
        this.name = name;
        this.age = age;
        this.idNum = idNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    @Override
    public String toString() {
        return "Person[" +
                "name=" + name +
                ", age=" + age +
                ", idNum=" + idNum +
                ']';
    }
}
